package cn.fjsay.java.demo1;

public class QueryIdTestJDBC {
    public static void main(String[] args) {
        PersonDAO personDAO=new PersnDAOImpal();
        Person person=personDAO.getPersonByPid(12);//id
        System.out.println(person);
        System.out.println("查询成功");
    }
}
